<template>
	<div>


		<div class="block block-rounded js-appear-enabled">
			<div class="block-header block-header-default">
				<h2 class="codeThickness">工单历史</h2>
				<div><el-button type="info" size="medium" class="black-button">新的工单</el-button></div>

			</div>
			<el-table :data="tableData" border style="width: 100%">
				<el-table-column prop="date" label="#" width="180">
				</el-table-column>
				<el-table-column prop="name" label="标题" width="180">
				</el-table-column>
				<el-table-column prop="address" label="工单级别" width="180">
				</el-table-column>
				<el-table-column prop="address" label="工单状态" width="180">
				</el-table-column>
				<el-table-column prop="address" label="创建时间" width="180">
				</el-table-column>
				<el-table-column prop="address" label="回复" width="180">
				</el-table-column>
				<el-table-column prop="address" label="操作">
				</el-table-column>


			</el-table>
			<div>

				<el-input placeholder="输入验证码"></el-input>
				<img :src="curl" @click="cimg()" />

			</div>

		</div>











	</div>
</template>

<script>
	import axios from 'axios';
	const options = {
		data() {

			return {
				key: "",
				curl: ""

			};

		},
		mounted() {

			this.key = Math.random();
			this.curl = 'http://localhost:8190/captcha/Vcode?key=' + this.key;
			// axios.get('http://localhost:8190/captcha/Vcode?key='+this.key)
			// 					.then(response => {
			// 						// 请求成功，处理返回的数据  
			// 						console.log(response)

			// 					})
			// 					.catch(error => {
			// 						// 请求失败，处理错误信息  
			// 						this.error = error;
			// 					});



		}






	};
	export default options;
</script>

<style>

</style>